package com.gxa.hualian.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Get {
    private Integer id;
    private String phone;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp time;
    private Boolean isUsed;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp useTime;
    private Coupon coupon = new Coupon();
}
